package com.pro.service.imple;

import com.pro.mapper.JsApplyRecordMapper;
import com.pro.pojo.JsApplyRecord;
import com.pro.service.JsApplyRecordService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * ClassName:JsApplyRecordServiceImple
 * Package:com.pro.service.imple
 * Description:
 *
 * @Date:2021/11/28 19:39
 * @Author: ZPT
 */
@Service
public class JsApplyRecordServiceImple implements JsApplyRecordService {
    @Autowired(required = false)
    private JsApplyRecordMapper mapper;

    @Override
    public List<JsApplyRecord> getApplyRecord(String position,String account,
                                              String fullName,String applyDate,Integer result) {
        return mapper.getApplyRecord(position,account,fullName,applyDate,result);
    }

    @Override
    public Boolean updateApplyRecord(Integer id, Integer result, String remarks) {
        return mapper.updateApplyRecord(id,result,remarks);
    }
}
